<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <input type="text" v-model="school.name">
        <div>{{school.name}}</div>
        <div>{{school.age}}</div>
        <ul>
            <li>1</li>
            <li>2</li>
        </ul>
        {{testComputed}}
    </div>
    <!-- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -->
    <script src="MVVM.js"></script>
    <script>
        let vm = new Vue({
            el:'#app',
            data: {
                school:{
                    name: 'whut',
                    age: 10,
                }
            },
            methods: {

            },
            computed: {
                testComputed() {
                    return this.school.name + "111";
                }
            }
        });
    </script>
</body>
</html>